#!/usr/bin/python
import socket
import sys

def get_ips_for_host(host):
        try:
            ips = socket.gethostbyname_ex(host)
        except socket.gaierror:
            ips=[]
        return ips

if len(sys.argv) != 2:
    print "Neet host name"
else:    
    print(get_ips_for_host(sys.argv[1]))
